package org.jeecg.modules.flow.query;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data
public class SaveModelQuery implements Serializable {

    /**
     * 流程名称
     */
    @NotBlank(message = "流程名称不能为空")
    private String name;
    /**
     * 流程描述
     */
    private String description;
    /**
     * 流程key
     */
    @NotBlank(message = "流程KEY不能为空")
    private String key;
    /**
     * 流程xml
     */
    @NotBlank(message = "流程xml不能为空")
    private String bpmn_xml;

    /**
     * 流程分类
     */
    private String category;
}
